@/*
    时间查询条件标签的参数说明:
    sid : input框第一个id
    eid : input框第二个id
    name : input框名称
    placeholder:placeholder
    readonly : readonly属性
    style : 附加的css属性
@*/
<div class="form-group">
    @if(!isEmpty(name)){
    <label for="${sid!}" class="control-label">${name!}</label>
    @}
    <input class="textbox " id="${sid}" name="${sid}"
           type="text"
           readonly="true"
           value="${value!,dateFormat='yyyy-MM-dd'}"
           placeholder="${placeholder!}"
           @if(isNotEmpty(readonly)){
           		style="${style!}"
           @}else{
           		style="background-color:#fff;${style!}"
           @}
    />
    <span class="dateicon" style="height: 28px;"></span>
    <label for="${eid!}"  style="width:1px;display: inline" class="control-label">-</label>
    <input class="textbox " id="${eid}" name="${eid}"
           type="text"
           readonly="true"
           value="${value!,dateFormat='yyyy-MM-dd'}"
           placeholder="${placeholder!}"
           @if(isNotEmpty(readonly)){
           style="${style!}"
           @}else{
           style="background-color:#fff;${style!}"
           @}
    />
    <span class="dateicon" style="height: 28px;"></span>
</div>
@if(isEmpty(readonly)){
<script type="text/javascript">
laydate.render({
	elem: '#${sid}',
	calendar: true,
	theme: 'molv'
});
laydate.render({
    elem: '#${eid}',
    calendar: true,
	theme: 'molv'
});
</script>
@}
@if(isNotEmpty(underline) && underline == 'true'){
    <div class="hr-line-dashed"></div>
@}
